<?php
class Language extends AppModel {
	var $name = 'Language';
	var $primaryKey = 'language_id';

	var $validate = array(
					'language_id' => VALID_NUMBER,
					'description' => VALID_NOT_EMPTY
	);

	function getLanguageList() {
		return $this->generateList(null, null, null, "{n}.Language.language_id", "{n}.Language.description");
	}
}
?>
